install.sh is a POSIX sh script known to work with the following shells:

  ash
  dash
  bash
  ksh
  loksh
  mksh
  pdksh
  posh (0.14.1 or newer)
  yash
  zsh

To install burncd to a compatible system install.sh can be used with the
argument 'install'. Likewise to uninstall burncd 'uninstall' can be
used. Additionally the following arguments can be passed to these
install targets to configure the install paths.

  PREFIX - Install path prefix (/usr/local)
  BINDIR - Binary install directory (/usr/local/bin)
  DOCDIR - Documentation install directory (/usr/local/share/doc)
  MANDIR - Manpage install direcotry (/usr/local/share/man)

DOCDIR will always have 'burncd-$VERSION' appended to the set directory
and MANDIR will always have 'man1'. For example documentation will be
installed to '/usr/local/doc/burncd-0.0/' and man pages will be
installed to '/usr/local/man/man1'. VERSION is a hardcoded value set in
install.sh.

The configurable install directories can be either absolute or relative
paths. If they are set as relative paths the value of PREFIX will be
prepended to the install directory. For example if MANDIR is set to
'man' man pages will be installed to '/usr/local/man/man1/' instead of
'/usr/local/share/man/man1/'.

By design install.sh will not use any set environment variables and all
configuration must be passed explicitly as arguments.

EXAMPLES

  ./install.sh install PREFIX=/usr DESTDIR=/tmp

      Installs burncd to '/tmp/usr/'.

  ./install.sh uninstall PREFIX=/usr DESTDIR=/tmp

      Uninstalls burncd from '/tmp/usr/'.

  ./install.sh install DOCDIR=/usr/local/doc

      Installs documentation to '/usr/local/doc/burncd-$VERSION'.

  ./install.sh install MANDIR=man

      Installs man pages to '$PREFIX/man/man1/'.
